package org.elj.jeasyexcel.structure.impl;

import org.elj.jeasyexcel.structure.Style;

public class StyleImpl implements Style {

	private boolean bold;
	private boolean italic;
	private Integer fontSize;
	private boolean underlined;
	private String fontName;
	private boolean centered;

	public StyleImpl() {
		bold = false;
		italic = false;
		underlined = false;
		fontSize = null;
		fontName = null;
	}

	public boolean isBold() {
		return bold;
	}

	public void setBold(boolean bold) {
		this.bold = bold;
	}

	public boolean isItalic() {
		return italic;
	}

	public void setItalic(boolean italic) {
		this.italic = italic;
	}

	public Integer getFontSize() {
		return fontSize;
	}

	public void setFontSize(int fontSize) {
		this.fontSize = fontSize;
	}

	public boolean isUnderlined() {
		return underlined;
	}

	public void setUnderlined(boolean underlined) {
		this.underlined = underlined;
	}

	public String getFontName() {
		return fontName;
	}

	public void setFontName(String fontName) {
		this.fontName = fontName;
	}

	@Override
	public boolean isCentered() {
		return centered;
	}

	@Override
	public void setCenter(boolean centered) {
		this.centered = centered;
	}

}
